package com.douqu.game.main.database.mapper.read;

import com.douqu.game.core.database.model.GMLogModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2017-11-13 15:08
 */
public interface ReadGMLogMapper {

    int findCount(@Param("keyword") String keyword,
                  @Param("startTime") Integer startTime,
                  @Param("endTime") Integer endTime);

    List<GMLogModel> findList(@Param("keyword") String keyword,
                              @Param("startTime") Integer startTime,
                              @Param("endTime") Integer endTime,
                              @Param("start") Integer start,
                              @Param("count") Integer count);
}
